package com.site.wisdom_construction.entity.safetyModule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-11 
 */

@ApiModel (value ="安全隐患区域表实体类",description = "District")
public class SafetyDistrict {
	/**
	 * 安全隐患区域表id
	 */
   	@ApiModelProperty(value = "安全隐患区域表id", name = "id")
	private Integer id;

	/**
	 * 区域名称
	 */
   	@ApiModelProperty(value = "区域名称", name = "districtName")
	private String districtName;

	public SafetyDistrict(){ super(); }

	public SafetyDistrict(Integer id, String districtName) {
		this.id = id;
		this.districtName = districtName;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDistrictName() {
		return this.districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	@Override
	public String toString() {
		return "{" +
				", id='" + id + '\'' +
				", districtName='" + districtName + '\'' +
				'}';
	}
}
